package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author mo
 * @Date 2024-05-24 18:17:36
 **/
@Mapper
public interface SysRoleUserMapper {

    void doAssign(@Param("userId") Long userId, @Param("roleId") Long roleId);		// 添加关联关系
    void deleteByUserId(@Param("userId") Long userId);

    List<Long> findSysUserRoleByUserId(@Param("userId") Long userId);
}
